package com.dq.health.dto.request.user;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

public class UpdatePasswordRequest implements Serializable {

    @NotBlank
    @ApiModelProperty("老密码")
    private String oldPassword;

    @NotBlank
    @ApiModelProperty("新密码")
    private String newPassword;

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
